package com.wr.hangzhounewlight.obj.api.orderclosed;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author yuanzhizhuo
 * createDate 2025/9/26
 */
@Data
@AllArgsConstructor
public class OrderClosedResponse {

    private int isSuccess;
    private String errorMsg;
    private List<OrderSetDTO> orderSet;

    @Data
    @AllArgsConstructor
    public static class OrderSetDTO {

        private String orderNo;
        private String machine;
        private String screw;
        private List<SiloSetDTO> siloSet;

        @Data
        @NoArgsConstructor
        @AllArgsConstructor
        public static class SiloSetDTO {
            private String materialName;
            private String silo;
            private Double ratio;
        }

    }

}
